<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <title>订单</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="/php/x-admin/Public/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" href="/php/x-admin/Public/css/font-awesome.min.css">
  <link rel="stylesheet" href="/php/x-admin/Public/css/ace.min.css">

  <style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style>
</head>
<body style="">

<!-- =================订单详情================================== -->
<table border='1' align='center' width='800' class="table table-striped table-bordered table-hover">
  <center><h1>客户订单详情</h1></center>
  <tr><th colspan='7'>订单明细</th></tr>
  <tr>
    <td>订单号</td>
    <td class="hidden-480">商品ID</td>
    <td>商品名称</td>
    <td>单价</td>
    <td>数量</td>
    <td>会员ID</td>
  </tr>
  <?php if(is_array($orders)): foreach($orders as $key=>$orders): ?><tr>
      <td><?php echo ($orders["order_number"]); ?></td>
      <td class="hidden-480"><?php echo ($orders["goods_id"]); ?></td>
      <td><?php echo ($orders["goods_name"]); ?></td>
      <td><?php echo ($orders["price"]); ?></td>
      <td><?php echo ($orders["num"]); ?></td>
      <td><?php echo ($orders["user_id"]); ?></td>
    </tr><?php endforeach; endif; ?>
  <tr><td>客户留言:<?php echo ($orders["speak"]); ?></td><tr>
  <tr>
    <td colspan=2 style='color:red'><b>当前订单状态:<b><?php echo ($orders["state"]); ?></td>
    <td colspan=4><b>订单总金额:</b><?php echo ($orders["totalall"]); ?></td>
  </tr>
</table>
<br>
<table border='1' align='center' width='800' class="table table-striped table-bordered table-hover">
  <tr><th colspan=2>收货人信息</th></tr>
  <tr><td>收货人姓名</td><td><?php echo ($orders["linkman"]); ?></td></tr>
  <tr><td>详细地址</td><td><?php echo ($orders["address"]); ?></td></tr>
  <tr><td>邮编</td><td><?php echo ($orders["code"]); ?></td></tr>
  <tr><td>手机</td><td><?php echo ($orders["mobile"]); ?></td></tr>
</table>
</body>
</html>